package com.spark.gaea.base;

import java.io.Serializable;
import java.util.List;

public interface Treeable<ID extends Serializable> extends Serializable {
	void setId(final ID p0);

	ID getId();

	void setParentId(final ID p0);

	ID getParentId();

	void setLeaf(final Boolean p0);

	Boolean getLeaf();

	void setCode(final String p0);

	String getCode();

	void setChildren(final List<Treeable<ID>> p0);

	List<Treeable<ID>> getChildren();

	void setText(final String p0);

	String getText();
}
